package com.sqx.modules.errand.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sqx.common.utils.Result;
import com.sqx.modules.app.entity.UserEntity;
import com.sqx.modules.app.entity.UserMoneyDetails;
import com.sqx.modules.errand.entity.*;

public interface UserInfoService {

    UserEntity findUserInfoById(Long UserId);


    Result updateUserInfoById(UserEntity tbUser);

    MoneyDetails findAccount(Long userId);

    Result userFeedback(Long userId, Feedback feedback);

    Result findIncome(Long userId);

    Result findBalance(Long userId);

    Result findCashDeposit(Long userId);

    IPage<UserMoneyDetails> findMoneyDetails(Long userId, Integer page, Integer limit, UserMoneyDetails userMoneyDetails);

    Result findEvaluate(Long userId, Integer page, Integer limit, String satisfactionFlag);


    Result newUserCoupon(Long userId);


    Result updateOnLine(Long userId, Integer onLineFlag);


    Result checkPhone(String openId, String phone,Integer userType);

    Result rankingList(Integer page, Integer limit, String address, String date, String dateType);

    Result bannedFlag(Long userId);

    Result selectCashDeposit(Long userId, Integer page, Integer limit);


}
